#pragma once
#include<unistd.h>
#include <sched.h>
#include <string.h>
#include <iostream>

void test_sched() {
    struct sched_param sp;
    memset(&sp, 0, sizeof(sp));

    int maxpri = sched_get_priority_max(SCHED_FIFO);
    std::cout <<"max pri=" << maxpri << std::endl;

}